package com.pactera.madp.cp.api.dto.contact;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "一客一码请求对象")
public class ContactUniqueQrCodeDto {

    @NotBlank(message = "成员不能为空")
    @ApiModelProperty(value = "用户id")
    private String wxUserId;

    @NotBlank(message = "联系人不能为空")
    @ApiModelProperty(value = "外部联系人id")
    private String wxExternalUserid;

    @NotNull(message = "操作类型不能为空")
    @ApiModelProperty(value = "操作类型 0-查看 1-更新头像")
    private Integer operType;
}
